import request from '@/utils/request'

// 查询SN码已在数据库存在
export function searchHistorical(data) {
    return request({
      url: '/mes/pro/historical/info/estimate/sncode',
      method: 'post',
      data: data
    })
}

// 修改/新增 历史数据接口
export function UpdataHistorical(data) {
  return request({
    url: '/mes/pro/historical/info',
    method: 'post',
    data: data
  })
}
export function fileUpload(data) {
    return request({
      url: '/mes/file/upload',
      headers:{
        'Content-Type': 'multipart/form-data',
      },
      method: 'post',
      data: data
    })
}
